<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="description" content="" />
    <meta name="author" content="ChongMing" />
    <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-touch-fullscreen" content="yes">
    <meta name="full-screen" content="yes">
    <meta name="screen-orientation" content="portrait">
    <meta name="x5-fullscreen" content="true">
    <meta name="360-fullscreen" content="true">
    <title>地址管理</title>
</head>
<link rel="stylesheet" href="../css/reset.css">
<link rel="stylesheet" href="../css/swiper-3.3.1.min.css">
<link rel="stylesheet" href="css/geneticTesting.css">
<script type="text/javascript" src="../js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="../js/jquery.mobile-1.4.3.js"></script>
<script type="text/javascript" src="../js/swiper-3.3.1.jquery.min.js"></script>
<script type="text/javascript" src="js/geneticTesting.js"></script>
<script type="text/javascript" src="js/vue.js"></script>
<script type="text/javascript" src="../js/jquery.cookie.js"></script>
<script type="text/javascript">
    $(function(){
        var data = {
            uid:$.cookie("local_userId"),
            page_index:1,
            page_size:100
        }
        geneticTesting.addlist('address/index',data);
    });
</script>
<body style=" background: #ebebeb; height: 100%; margin: auto;-webkit-overflow-scrolling: touch;overflow: scroll;">
<div class="editadd" id="editadd">
    <div class="addlist" v-for="item in list">
        <div class="con">
            <img v-on:click="link2(item.address_id)" v-if="item.is_default==1" class="radio" data-id="{{item.address_id}}" src="images/icon6.png">
            <img v-on:click="link2(item.address_id)" v-if="item.is_default==0" class="radio" data-id="{{item.address_id}}" src="images/icon5.png">
            <div class="center">
                <p class="top">
                    <span class="name">{{item.user_name}}</span>
                    <span class="phone">{{item.mobile}}</span>
                </p>
                <p class="bot"><span>{{item.address_desc}}</span></p>
            </div>
            <img v-on:click="link(item.address_id)" data-id="{{item.address_id}}" src="images/icon9.png" class="edit">
        </div>
        <div class="del" data-id="{{item.address_id}}">删除</div>
    </div>
</div>
<div class="editadd-button">
    <button>新增地址</button>
</div>
</body>
</html>